package tech.xs.common.framework.init.db.domain.properties;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.io.Serializable;

@Getter
@Setter
@ToString
@ConfigurationProperties(prefix = "datasource")
public class DatasourceProperties implements Serializable {

    /**
     * 是否初始化数据库结构
     */
    private Boolean isInitDataStructure;

    /**
     * 是否初始化数据库数据
     */
    private Boolean isInitData;

}
